package gui;
import javax.swing.JCheckBox;

import data.DepartmentData;



public class MyCheckBox extends JCheckBox {
	private static final long serialVersionUID = 5843257231389864487L;
	
	private DepartmentData mDepartment = null;
	
	public MyCheckBox(DepartmentData department) {
		super(department.getName());
		mDepartment = department;
	}
	
	public DepartmentData getDepartment() {
		return mDepartment;
	}

}
